package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资料对象 sys_material
 * 
 * @author YJF
 * @date 2023-05-11
 */
public class SysMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long materialId;

    /** 课程编号 */
    @Excel(name = "课程编号")
    private Long courseNo;

    /** 资料名称 */
    @Excel(name = "资料名称")
    private String materialName;

    /** 状态 */
    @Excel(name = "状态")
    private Integer materialStatus;

    /** 上传资料 */
    @Excel(name = "上传资料")
    private String materialUrl;

    /** 简介 */
    @Excel(name = "简介")
    private String materialRemark;

    /** 删除标志 */
    private String delFlag;

    /** 课程名称 */
    private String courseName;

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setMaterialId(Long materialId)
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }

    public Long getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(Long courseNo) {
        this.courseNo = courseNo;
    }

    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setMaterialStatus(Integer materialStatus) 
    {
        this.materialStatus = materialStatus;
    }

    public Integer getMaterialStatus() 
    {
        return materialStatus;
    }
    public void setMaterialUrl(String materialUrl) 
    {
        this.materialUrl = materialUrl;
    }

    public String getMaterialUrl() 
    {
        return materialUrl;
    }
    public void setMaterialRemark(String materialRemark) 
    {
        this.materialRemark = materialRemark;
    }

    public String getMaterialRemark() 
    {
        return materialRemark;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materialId", getMaterialId())
            .append("courseNo", getCourseNo())
            .append("materialName", getMaterialName())
            .append("materialStatus", getMaterialStatus())
            .append("materialUrl", getMaterialUrl())
            .append("materialRemark", getMaterialRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
